7670b4f85f4e6633e55ff03eb705795ed0c1984d,python/src/com/jetbrains/python/validation/UnsupportedFeatures.java,UnsupportedFeatures,visitPyNumericLiteralExpression,#PyNumericLiteralExpression#,177
Before Change
if (!isNull) {
getHolder().createWarningAnnotation(node,
"Python 3 requires '0o' prefix for octal literals")
.registerFix(new ReplaceOctalNumericLiteralIntention());
}
}
}
After Change
}
}
if (!isNull) {
final String message = "Python 3 requires '0o' prefix for octal literals";
getHolder().createWarningAnnotation(node, message).registerFix(createIntention(node, message, new ReplaceOctalNumericLiteralQuickFix()));
}
}
}